@extends('admin.base.parent')
@section('content')
<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		<script type="text/javascript">
			try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
		</script>

		<ul class="breadcrumb">
			<li>
				<i class="icon-home home-icon"></i>
				<a href="#">主页</a>
			</li>
			<li>
				<a href="#">用户添加页</a>
			</li>
			<li class="active">添加用户</li>
		</ul><!-- .breadcrumb -->
		<div class="nav-search" id="nav-search">
			<form class="form-search">
				<span class="input-icon">
					<input type="text" placeholder="搜索" class="nav-search-input" id="nav-search-input" autocomplete="off" />
					<i class="icon-search nav-search-icon"></i>
				</span>
			</form>
		</div><!-- #nav-search -->
	</div>

	<div class="page-content">
		<div class="page-header">
			<h1>
				添加用户
				<small>
				<i class="icon-double-angle-right"></i>
				用户信息
				</small>
			</h1>
		</div><!-- /.page-header -->

		<div class="row">
			<div class="col-xs-12">
				<!-- PAGE CONTENT BEGINS -->
				<form class="form-horizontal" role="form" action="/admin/users/details" method="post" enctype="multipart/form-data">
					{{ csrf_field() }}
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 头像 </label>
						<div class="col-sm-9">
							<input type="file" id="form-field-1" class="col-xs-10 col-sm-5" name="upic" />
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 名字 </label>
						<div class="col-sm-9">
							<input type="text" id="form-field-1" placeholder="请输入名字" class="col-xs-10 col-sm-5" required name="username" />
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 密码 </label>
						<div class="col-sm-9">
							<input type="password" id="form-field-1" placeholder="请输入密码" class="col-xs-10 col-sm-5" required name="userpwd" />
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Email </label>
						<div class="col-sm-9">
							<input type="email" id="form-field-1" placeholder="请输入邮箱地址" class="col-xs-10 col-sm-5" required name="email" />
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 性别 </label>
						<div class="col-sm-9">
							<input type="radio" value="1" name="sex">男
							<input type="radio" value="2" name="sex">女
						</div>
					</div>

					<!-- <div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-input-readonly"> 权限 </label>
						<div class="col-sm-9">
							<input readonly="" type="text" class="col-xs-10 col-sm-5" id="form-input-readonly" value="普通管理员" required />
							<span class="help-inline col-xs-12 col-sm-7">
								<label class="middle">
									<input class="ace" type="checkbox" id="id-disable-check" />
								</label>
							</span>
						</div>
					</div> -->
					<div class="space-4"></div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-input-readonly"> 简介 </label>
						<div class="col-sm-9">
							<textarea id="form-field-11" rows ='5px' cols='45px' name="info" >新人请多多关照！</textarea>
						</div>
					</div>
					<div class="space-4"></div>
					<div class="clearfix form-actions">
						<div class="col-md-offset-3 col-md-9">
							<button class="btn btn-info" type="submit">
								<i class="icon-ok bigger-110"></i>
								提交
							</button>
							&nbsp; &nbsp; &nbsp;
							<button class="btn" type="reset">
								<i class="icon-undo bigger-110"></i>
								重置
							</button>
						</div>
					</div>
				</form>
			</div><!-- /.col -->
		</div><!-- /.row -->
	</div><!-- /.page-content -->
</div><!-- /.main-content -->
@endsection